Action

public final class Action extends AsyncCallbackAction<R>

An action providing a response to the RequestPdfDocumentPasswordCallback.

Constructors

public void RequestPdfDocumentPasswordCallback.Action(Consumer<RequestPdfDocumentPassword.Response> consumer)

Functions

Link copied to clipboard
public void cancel()
Cancels the password request.
Link copied to clipboard
public final boolean isClosed()
Returns true if this action is closed.
Link copied to clipboard
public void password(String password)
Tells the browser to use the password to load the encrypted PDF document.
Link copied to clipboard
public void showPasswordDialog()
Tells the browser to use the standard PDF viewer password dialog UI to load the encrypted PDF document.